package com.hntest.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Account extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1720301993362312218L;

    private int account_id;
    private int version; //版本
    private String tradepassword; //交易密码
    private BigDecimal useableamount = BidConst.ZERO;//可用余额
    private BigDecimal frezzedamount = BidConst.ZERO; //冻结金额
    private BigDecimal unReceiveInterest = BidConst.ZERO;//账户待收利息
    private BigDecimal unReceivePrincipal = BidConst.ZERO;//账户待收本金
    private BigDecimal unReturnAmount = BidConst.ZERO;//账户待还金额
    private BigDecimal remainBorrowLimit = BidConst.ZERO;//账户剩余授信额度
    private BigDecimal borrowLimitAmount; //授信额度

    public Account() {   }

    public Account(int account_id, int version, String tradepassword, BigDecimal useableamount, BigDecimal frezzedamount, BigDecimal unReceiveInterest, BigDecimal unReceivePrincipal, BigDecimal unReturnAmount, BigDecimal remainBorrowLimit, BigDecimal borrowLimitAmount) {
        this.account_id = account_id;
        this.version = version;
        this.tradepassword = tradepassword;
        this.useableamount = useableamount;
        this.frezzedamount = frezzedamount;
        this.unReceiveInterest = unReceiveInterest;
        this.unReceivePrincipal = unReceivePrincipal;
        this.unReturnAmount = unReturnAmount;
        this.remainBorrowLimit = remainBorrowLimit;
        this.borrowLimitAmount = borrowLimitAmount;
    }
    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getAccount_id() {
        return account_id;
    }

    public void setAccount_id(int account_id) {
        this.account_id = account_id;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getTradepassword() {
        return tradepassword;
    }

    public void setTradepassword(String tradepassword) {
        this.tradepassword = tradepassword;
    }

    public BigDecimal getUseableamount() {
        return useableamount;
    }

    public void setUseableamount(BigDecimal useableamount) {
        this.useableamount = useableamount;
    }

    public BigDecimal getFrezzedamount() {
        return frezzedamount;
    }

    public void setFrezzedamount(BigDecimal frezzedamount) {
        this.frezzedamount = frezzedamount;
    }

    public BigDecimal getUnReceiveInterest() {
        return unReceiveInterest;
    }

    public void setUnReceiveInterest(BigDecimal unReceiveInterest) {
        this.unReceiveInterest = unReceiveInterest;
    }

    public BigDecimal getUnReceivePrincipal() {
        return unReceivePrincipal;
    }

    public void setUnReceivePrincipal(BigDecimal unReceivePrincipal) {
        this.unReceivePrincipal = unReceivePrincipal;
    }

    public BigDecimal getUnReturnAmount() {
        return unReturnAmount;
    }

    public void setUnReturnAmount(BigDecimal unReturnAmount) {
        this.unReturnAmount = unReturnAmount;
    }

    public BigDecimal getRemainBorrowLimit() {
        return remainBorrowLimit;
    }

    public void setRemainBorrowLimit(BigDecimal remainBorrowLimit) {
        this.remainBorrowLimit = remainBorrowLimit;
    }

    public BigDecimal getBorrowLimitAmount() {
        return borrowLimitAmount;
    }

    public void setBorrowLimitAmount(BigDecimal borrowLimitAmount) {
        this.borrowLimitAmount = borrowLimitAmount;
    }
}
